package com.songtai.util;

import java.io.Serializable;

/**
 * @author zzy
 * @catagory 变量工具类
 */
public class Constants implements Serializable {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -4785231528926707509L;
	// md5加密
	public static final String ENCODE_MD5 = "MD5";
	// session用户
	public static final String SESSION_USER = "YINLIN_ADMIN";
	// 验证码
	public static final String VALIDATE_CODE = "VALIDATE_CODE";
	// 上线时间
	public static final String SESSION_ONLINE_TIME = "SESSION_ONLINE_TIME";
	// 上线IP
	public static final String SESSION_ONLINE_IP = "SESSION_ONLINE_IP";
	/** 日期格式 */
	public static final String DATEFORMAT_YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss";
	public static final String DATEFORMAT_YYYY_MM_DD_HH_MM_SS_NO_SEPARATOR = "yyyyMMddHHmmssS";
	public static final String DATEFORMAT_YYYY_MM_DD_ACROSS = "yyyy-MM-dd";
	public static final String DATEFORMAT_YYYY_MM_DD_TITLED = "yyyy/MM/dd";
	public static final String DATEFORMAT_YYYY_MM_DD_HH_MM = "yyyy-MM-dd HH:mm";
	public static final String DATEFORMATE_YYYY_MM = "yyyy-MM";
	public static final String DATEFORMATE_YYYY_MM_DD_NO_SEPARATOR = "yyyyMMdd";
	public static final String DATEFORMAT_YYYY_MM_DD_NO_SEPARATOR = "yyyyMMdd";
	/** 状态值 */
	// 上线
	public static final String STATUS_ONLINE = "1";
	// 下线
	public static final String STATUS_OFFLINE = "0";
	public static final int DEFAULT_PAGESIEZE = 20;
	public static final String IMAGE_STORE_DESC = "upload";
	/** 图片类型 */
	// 产品
	public static final String IMAGE_CASE = "2";
	// 案例
	public static final String IMAGE_PRODUCT = "1";
	// 父节点
	public static final String NODETYPE_PNODE = "PNODE";
	// 新闻节点
	public static final String NODETYPE_NEWS = "NEWS";
	// 文字节点
	public static final String NODETYPE_TXT = "TXT";
	// 图片节点
	public static final String NODETYPE_IMAGES = "IMAGES";
	// 职位
	public static final String NODETYPE_JOB = "JOB";
}
